// config.js
//var host = "https://luoxianglong.cn"
var host = 'http://localhost:10010/'
var BUSINESS =  host+'/chiship/bs1/'
var config = {
  BUSINESS,

  //解析code-拿到openid、session_key
  code2Session:`${BUSINESS}sso/code2Session`,
  decryptingOpenData:`${BUSINESS}sso/decryptingOpenData`,
  //根据OpenId注册
  appletLogin:`${BUSINESS}sso/appletLogin`,
  //获得用户信息
  getInfo:`${BUSINESS}sso/getInfo`,
  //分类列表
  categoryList:`${BUSINESS}productCategory/list`,

  //商品列表
  productList:`${BUSINESS}product/list`,

   //创建订单
   createOrder:`${BUSINESS}orderHeader/createOrder`,

    //订单列表
    orderList:`${BUSINESS}orderHeader/list`,

    //订单支付
    orderPay:`${BUSINESS}orderHeader/orderPay`,

    //订单取消
    orderCancel:`${BUSINESS}orderHeader/orderCancel`,

    //订单完成
    orderFinish:`${BUSINESS}orderHeader/orderFinish`,

    //完善信息
    userPerfect:`${BUSINESS}member/perfect`,
    

    
};
module.exports = config